var fs = require("fs");
var path = require("path");
var uglifyJS = require("uglifyjs");
var min = uglifyJS.minify(path.resolve(__dirname , "./replace.js"), {});
fs.writeFileSync(path.resolve(__dirname ,'./replace.min.js'), min.code);
min = uglifyJS.minify(path.resolve(__dirname ,"./folder.js"), {});
fs.writeFileSync(path.resolve(__dirname ,'./folder.min.js'), min.code);
